/*************************************************************************
    > File Name: config.h
    > Author: fanzhihui
    > Mail: 953106194@qq.com 
    > Created Time: 2019年07月01日 星期一 11时04分38秒
 ************************************************************************/
#ifndef _FHTTP_CONFIG_H_
#define _FHTTP_CONFIG_H_
#include "log/logger.h"
#include <string>

using namespace std;

class Config
{
public:
	

	static string binding_ip;
	static int binding_port;

	static string face_db_file;

	//每个异步任务线程比较多少张图片
	static int faces_per_async_task;

	static void dump(){
		LOG(LOG_INFO,"Config:");
		LOG(LOG_INFO," binding_ip:%s", binding_ip.c_str());
		LOG(LOG_INFO," binding_port:%d", binding_port);
		LOG(LOG_INFO," face_per_async_task:%d", faces_per_async_task);
		LOG(LOG_INFO," face_db_file:%s", face_db_file.c_str());
	
	}
};




#endif


